package com.cy.pj.activity.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Activity {
    private Integer id;
    private String title;
    private String category;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private String remark;
    private Integer state;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdTiem;
    private String createdUser;

}
